package com.sdhs.paas.gateway.model;

import java.beans.ConstructorProperties;

import com.sdhs.paas.gateway.constant.AmeConstant;

public class AmeMenu
{
  String name;
  AmeConstant.MenuTypeEnum MenuType;
  boolean hasPermission;
  String desc;

  public void setName(String name)
  {
    this.name = name; } 
  public void setMenuType(AmeConstant.MenuTypeEnum MenuType) { this.MenuType = MenuType; } 
  public void setHasPermission(boolean hasPermission) { this.hasPermission = hasPermission; } 
  public void setDesc(String desc) { this.desc = desc; }


  public String getName()
  {
    return this.name;
  }

  public AmeConstant.MenuTypeEnum getMenuType()
  {
    return this.MenuType;
  }

  public boolean isHasPermission()
  {
    return this.hasPermission;
  }

  public String getDesc()
  {
    return this.desc;
  }

  @ConstructorProperties({"name", "MenuType", "hasPermission", "desc"})
  public AmeMenu(String name, AmeConstant.MenuTypeEnum MenuType, boolean hasPermission, String desc)
  {
    this.name = name; this.MenuType = MenuType; this.hasPermission = hasPermission; this.desc = desc;
  }
}